<?php

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
require   'library/inc/Magic_ClassUpload_Model.inc';

class A {
    
    public static  function A1(){
        return 'hello From c1';
    }
}
class B {
    public  $obj ;
    public function __construct() {
        $this->obj = new Magic_ClassUpload_Model();
        $this->obj->uploadClass(array('A'));
    }
    public   function A2 () {
        echo 'B';
        return $this->obj->A1();
    }
    
}
$objB = new B() ;

echo $objB->A2();
?>
